package com.hb.medical_research_system.service;



import com.hb.medical_research_system.common.Results;
import com.hb.medical_research_system.entity.User;
import com.hb.medical_research_system.entity.dto.UserDTO;

public interface LoginService {
    /**
     * 用户登录
     * @param user
     * @return
     */
    Results login(UserDTO user);

    /**
     * 用户注册
     * @param user
     * @return
     */
    Results register(UserDTO user);

    /**
     * 用户注册并登录
     * @param user
     * @return
     */
    Results register2(UserDTO user);


}
